const mongoose = require("../db");
const Schema = mongoose.Schema;
const schema = new Schema({
    cartid: { type: String },
    userid: { type: String },
    proid: { type: String },
    num: { type: Number },
    flag: { type: Boolean } // true 选中
});
const collection = mongoose.model("Cart", schema);
module.exports = collection;
